<%layout("../layout.html"){%>
<div class="line-middle margin-top margin-bottom">
	<div class="xm12">
		<table class="table table-bordered table-hover">
			<thead>
				<tr>
					<th>名称</th>
					<th>日期</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<% for(art in pageArticle.list) {%>
				<tr>
					<td>${art.title}</td>
					<td>${art.updateTime,dateFormat="yyyy-MM-dd HH:mm:ss"}</td>
					<td><a class="button bg-darkRed fg-white"
						href="${BASE_PATH}/admin/article/modify/${art.id}">修改</a>&nbsp;<a class="button bg-darkRed fg-white"
						href="${BASE_PATH}/admin/article/del/${art.id}">删除</a></td>
				</tr>
				<%}%>
			</tbody>
		</table>
		<div class="margin-top margin-bottom">
			<ul class="pagination border-main">
				<%for(var i=1;i <= pageArticle.totalPage;i++ ){%>
					<li  class="float-right <%if(i == pageArticle.pageNumber){%>active1111<%}%>" ><a href="${BASE_PATH}/admin/article/${i}">${i}</a></li>
				<%}%>
			</ul>
		</div>
	</div>
</div>
<%}%>
